﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;

namespace AgileShare.Framework.SiteProvisioning.Definitions
{
	public enum FieldType
	{
		None,
		Text,
		Number,
		Currency,
		DateTime,
		Note,
		HTML,
		Image,
		Choice,
		MultiChoice,
		URL,
		Lookup,
		LookupMulti,
		Boolean,
		Integer,
		UrlSelectorField
	}

	public enum FieldFormat
	{
		TRUE,
		FALSE
	}

	public enum FieldFormatDateTime
	{
		DateOnly = SPDateTimeFieldFormatType.DateOnly,
		DateTime = SPDateTimeFieldFormatType.DateTime,
	}

	public enum FieldFormatChoice
	{
		Dropdown = SPChoiceFormatType.Dropdown,
		RadioButtons = SPChoiceFormatType.RadioButtons,
	}

	public enum FieldFormatUrl
	{
		Hyperlink = SPUrlFieldFormatType.Hyperlink,
		Image = SPUrlFieldFormatType.Image,
	}

	public enum FieldNoteRichTextMode
	{
		Compatible = SPRichTextMode.Compatible,
		FullHtml = SPRichTextMode.FullHtml
	}

	public enum FieldHtmlRichTextMode
	{
		HtmlAsXml = SPRichTextMode.HtmlAsXml, // What's this for?
		ThemeHtml = SPRichTextMode.ThemeHtml
	}
}
